package com.restaurant.application.qrcode.support;

import com.nebutown.supporthome.AbstractImpl;
import com.restaurant.application.qrcode.QrCode;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public abstract class AbstractQrCode extends AbstractImpl implements QrCode {

    private static final Logger logger = LoggerFactory.getLogger(QrCode.class);

    public final Class<?> getEffectiveInterface() {
        return QrCode.class;
    }

    public Logger getLogger() {
        return logger;

    }

    private static final String privateDataType = "QrCodeData";

    public QrCodeData getData() {
        return escort.getData(QrCodeData.class);
    }

    public void setData(QrCodeData data) {
        escort.setData(data);
    }
}
